﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using QLTV_Public;
using QLTV_Data;

namespace QLTV_BLL
{
  public  class TheLoai_BLL
    {
      TheLoai_Data theLoai = new TheLoai_Data();
      public DataTable LayDuLieu()
      {
          return theLoai.layDuLieu();
      }
      public int insert_theLoai(TheLoai_public tenTheLoai, TheLoai_public ghiChu)
      {
          return theLoai.insert_TheLoai(tenTheLoai,ghiChu);
      }
      public int update_theLoai(TheLoai_public maTheloai,TheLoai_public tenTheLoai, TheLoai_public ghiChu)
      {
          return theLoai.update_TheLoai(maTheloai,tenTheLoai,ghiChu);
      }
      public int delete_theLoai(TheLoai_public maTheLoai)
      {
          return theLoai.delete_TheLoai(maTheLoai);
      }
    }
}
